package com.jet.merchant.remote.cashier;

import com.jet.core.result.ResultJson;
import com.jet.merchant.remote.cashier.vo.CashierModeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @author dcl
 * @since 2025/4/29 10:06
 */
@FeignClient(contextId = "merchantCashierRemote", value = "mammon-merchant", fallbackFactory = MerchantCashierRemoteFallback.class)
public interface MerchantCashierRemoteFeign {

    @GetMapping("/inner/cashier/mode")
    ResultJson<CashierModeVo> getCashierMode(@RequestHeader long merchantNo,
                                             @RequestHeader long storeNo,
                                             @RequestHeader String accountId);
}
